Component({
  // properties: {
  //     IFilterOption: Array,
  // },
  data: {
    IFilterOption: [
      {
        title: '类型',
        field: 'reportType',
        range: ['出校报备', '入校报备']
      },
      {
        title: '状态',
        field: 'reportStatus',
        range: ["通过", "院级审核", "校级审核", "退回"]
      }
    ] as IFilterOption[],
    form: {}
  },
  methods: {
    onThisSubmit() {
      this.triggerEvent('onSubmit', this.data.form, {})
    },
    itemValueChange({ detail }: { detail: Record<string, number> }) {
      this.setData({ form: { ...this.data.form, ...detail } })
    }
  }
})
